package com.woniu.mapper;

import com.woniu.entity.Detail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DetailMapper {
    List<Detail> findAll(@Param("sortId") Integer sortId);

    Detail findById(@Param("dId") Integer dId);

    Integer add(Detail detail);

    Integer update(Detail detail);

    Integer delete(@Param("dId") Integer dId);

}
